﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;

namespace FanaticRock.MediaSource.BilibiliAPI.ResponseDto.Fav.Resource
{
    public class InfosResponseDto : BaseResponseDto
    {
        [JsonPropertyName("data")]
        public VideoInfoDto[] List { get; set; }
    }

    public class VideoInfoDto
    {
        [JsonPropertyName("id")]
        public int Id { get; set; }

        [JsonPropertyName("type")]
        public int Type { get; set; }

        [JsonPropertyName("title")]
        public string Title { get; set; }

        [JsonPropertyName("cover")]
        public string Cover { get; set; }

        [JsonPropertyName("intro")]
        public string Intro { get; set; }

        [JsonPropertyName("duration")]
        public int Duration { get; set; }


        //[JsonPropertyName("data")]
        //public int ctime { get; set; }

        //[JsonPropertyName("data")]
        //public int pubtime { get; set; }

        [JsonPropertyName("bvid")]
        public string Bvid { get; set; }
    }
}
